package com.niiwoo.civet.mobile.vo.request.bill;

import com.niiwoo.civet.account.enums.BillStatusEnum;
import com.niiwoo.civet.account.enums.InoutTypeEnum;
import com.niiwoo.civet.base.enums.ChannelCodeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 记账并且变更账户余额DTO
 * Created by xiaoyingping on 2018/4/24.
 */
@Getter
@Setter
public class HandAddBillAndChangeBalanceRequestDTO implements Serializable {
    /**
     * 必传
     */
    @ApiModelProperty("账户ID")
    private Long accountId;

    @ApiModelProperty("本次账单的金额(只能为非负数)")
    private BigDecimal amount;

    @ApiModelProperty("1:收入 -1：支出")
    private Byte inoutType;

    @ApiModelProperty("账单状态")
    private Byte status;

    @ApiModelProperty("投资渠道")
    private String channelCode;

    @ApiModelProperty("账单二级科目code")
    private String billSecondSubjectCode;

    @ApiModelProperty("是否显示账单 1:显示 0：不显示")
    private Byte isVisible;


    /**
     * 其它(非必传)
     */
    @ApiModelProperty("交易对象的账户ID")
    private Long relationAccountId;

    @ApiModelProperty("账单备注")
    private String remark;
}
